package com.jeegit.ecms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeegit.common.annotation.Excel;
import com.jeegit.common.core.domain.TreeEntity;

/**
 * 文章分类对象 cms_article_category
 * 
 * @author jeegit
 * @date 2022-06-25
 */
public class CmsArticleCategory extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目编码 */
    private Long id;

    /** 站点编码 */
    @Excel(name = "站点编码")
    private Long cmsSiteId;
    
    private String cmsSiteName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简称 */
    @Excel(name = "简称")
    private String shortTitle;

    /** 英文简称 */
    @Excel(name = "英文简称")
    private String enShortTitle;

    /** 模块类型 */
    @Excel(name = "模块类型")
    private String dictModuleType;
    /** 菜单显示位置 */
    @Excel(name = "菜单显示位置")
    private String dictMenuPosition;

    /** 封面 */
    @Excel(name = "封面")
    private String image;

    /** 链接 */
    @Excel(name = "链接")
    private String href;

    /** 目标 */
    @Excel(name = "目标")
    private String target;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keywords;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 列表视图 */
    @Excel(name = "列表视图")
    private String dictListView;

    /** 内容视图 */
    @Excel(name = "内容视图")
    private String dictContentView;

    /** 视图配置 */
    @Excel(name = "视图配置")
    private String dictViewConfig;

    /** 排序 */
    @Excel(name = "排序")
    private BigDecimal sort;

    /** 状态（0正常 1删除 2停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除,2=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCmsSiteId(Long cmsSiteId) 
    {
        this.cmsSiteId = cmsSiteId;
    }

    public Long getCmsSiteId() 
    {
        return cmsSiteId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setShortTitle(String shortTitle) 
    {
        this.shortTitle = shortTitle;
    }

    public String getShortTitle() 
    {
        return shortTitle;
    }
    public void setEnShortTitle(String enShortTitle) 
    {
        this.enShortTitle = enShortTitle;
    }

    public String getEnShortTitle() 
    {
        return enShortTitle;
    }
    public void setDictMenuPosition(String dictMenuPosition) 
    {
        this.dictMenuPosition = dictMenuPosition;
    }

    public String getDictMenuPosition() 
    {
        return dictMenuPosition;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setTarget(String target) 
    {
        this.target = target;
    }

    public String getTarget() 
    {
        return target;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }
    public void setDictModuleType(String dictModuleType) 
    {
        this.dictModuleType = dictModuleType;
    }

    public String getDictModuleType() 
    {
        return dictModuleType;
    }
    public String getDescription() 
    {
        return description;
    }
    public void setDictListView(String dictListView) 
    {
        this.dictListView = dictListView;
    }

    public String getDictListView() 
    {
        return dictListView;
    }
    public void setDictContentView(String dictContentView) 
    {
        this.dictContentView = dictContentView;
    }

    public String getDictContentView() 
    {
        return dictContentView;
    }
    public void setDictViewConfig(String dictViewConfig) 
    {
        this.dictViewConfig = dictViewConfig;
    }

    public String getDictViewConfig() 
    {
        return dictViewConfig;
    }
    public void setSort(BigDecimal sort) 
    {
        this.sort = sort;
    }

    public BigDecimal getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getCmsSiteName() {
		return cmsSiteName;
	}

	public void setCmsSiteName(String cmsSiteName) {
		this.cmsSiteName = cmsSiteName;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cmsSiteId", getCmsSiteId())
            .append("parentId", getParentId())
            .append("title", getTitle())
            .append("shortTitle", getShortTitle())
            .append("enShortTitle", getEnShortTitle())
            .append("dictMenuPosition", getDictMenuPosition())
            .append("image", getImage())
            .append("href", getHref())
            .append("target", getTarget())
            .append("keywords", getKeywords())
            .append("description", getDescription())
            .append("dictListView", getDictListView())
            .append("dictContentView", getDictContentView())
            .append("dictViewConfig", getDictViewConfig())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
